//
//  ClickButton.m
//  LastOne
//
//  Created by dllo on 15/11/7.
//  Copyright © 2015年 sc. All rights reserved.
//

#import "ClickButton.h"
#import "FitHeader.h"
@implementation ClickButton

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
        _myImageView.image = [UIImage imageNamed:@"label"];
        // _myImageView.backgroundColor = [UIColor redColor];
        [self addSubview:_myImageView];
        
        _myLabel = [[UILabel alloc] initWithFrame:CGRectMake(1, 1, self.frame.size.width - 2, (self.frame.size.height / 750) * 600)];
        _myLabel.font = [UIFont fontWithName:@"Helvetica-Bold" size:14 * FitWidth];
        _myLabel.textColor = [UIColor blackColor];
        [self addSubview:_myLabel];
    }
    return self;
}


@end
